#include "Window.h"
#include <vector>
#include <stdlib.h>
#include <stdio.h>

Window::Window()
{
	resX = 1024;
	resY = 600;
	if (_DEBUG)
	//if (DEBUG_PROCESS)
	{
		Window::win = new sf::RenderWindow;
		Window::win->create(sf::VideoMode(Window::resX, Window::resY), "SongBeat");
	}
	else
	{
		Window::win->create(sf::VideoMode(Window::resX, Window::resY), "SongBeat", sf::Style::Fullscreen);
	}
}

Window::~Window()
{
	free(&win);
	this->element.clear();
	delete &element;
}

void Window::run()
{
}

void Window::update()
{
	if (Window::win->isOpen())
	{
	win->clear();
	win->display();
	}
}
